<?php

namespace app\common\model;
use think\Model;

class ReplyAssetModel extends BaseReplyModel
{
    protected $table="zbc_reply_asset";

    public function getIdBySave($param)
    {
        if(array_key_exists("id",$param)){
            unset($param["id"]);
        }
        $result=$this->save($param);
        
        return $result?$this->id:null;
    }
}